package com.lijian.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lijian.common.domain.R;
import com.lijian.user.domain.dto.LoginFormByEmailDTO;
import com.lijian.user.domain.dto.LoginFormDTO;
import com.lijian.user.domain.dto.RegisterFormDTO;
import com.lijian.user.domain.po.User;
import com.lijian.user.domain.vo.UserLoginVO;

/**
 * @author LiJian
 * @date 2024-10-22
 */
public interface IUserService extends IService<User> {

    UserLoginVO login(LoginFormDTO loginFormDTO);

    UserLoginVO loginByEmail(LoginFormByEmailDTO loginFormByEmailDTO);

    R<?> editPassword(LoginFormByEmailDTO loginFormByEmailDTO);


//    R register(RegisterFormDTO registerFormDTO);

}
